import request from "@/util/request"

const api_url = '/admin/cmn/dict'

export default {
  // 根据字典编码查询子数据
  findByDictCode(dictCode) {
    return request({
      url: `${api_url}/findByDictCode/${dictCode}`,
      method: 'get'
    })
  },
  // 根据字典id查询子数据
  findChildData(id){
    return request({
      url: `${api_url}/findChildData/${id}`,
      method: 'get'
    })
  }
}

